home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
GameKit
/
Makefiles
/
lib
/
Makefile.clean
< prev
next >
Wrap
Makefile
|
1995-06-12
|
928b
|
39 lines
#
# NeXT common include file for Internal Makefiles
# Copyright 1987, 1991, NeXT Computer, Inc.
#
# Maintained by Doug Wiebe.
#
# This Makefile has the targets used to clean projects.
#
# removes all derived files
clean::
-/bin/rm -f $(OFILES) $(COMMON_GARBAGE) $(SPECIFIC_GARBAGE) $(PRODUCT)
-/bin/rm -rf $(DIRECTORY_GARBAGE)
touch Makefile.depends
# removes other cruft
tidy:: clean
/bin/rm -f core *~
clean_wraps::
-rm -rf $(PSWFILES:.psw=.c) $(PSWMFILES:.pswm=.m)
-if [ -d $(DEBUG_OBJ) ]; \
then \
cd $(DEBUG_OBJ); \
rm -rf $(PSWFILES:.psw=.o) $(PSWMFILES:.pswm=.o); \
fi
-if [ -d $(OPT_OBJ) ]; \
then \
cd $(OPT_OBJ); \
rm -rf $(PSWFILES:.psw=.o) $(PSWMFILES:.pswm=.o); \
fi
-if [ -d $(PROFILE_OBJ) ]; \
then \
cd $(PROFILE_OBJ); \
rm -rf $(PSWFILES:.psw=.o) $(PSWMFILES:.pswm=.o); \
fi
-rm -rf $(PSWFILES:.psw=.o) $(PSWMFILES:.pswm=.o);